/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package com.aliyuncs.rds.model.v20140815;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.rds.transform.v20140815.DescribeOptimizeAdviceByDBAResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

import java.util.List;

/**
 * @author auto create
 */
public class DescribeOptimizeAdviceByDBAResponse extends AcsResponse {

    private String requestId;

    private Integer totalRecordsCount;

    private Integer pageNumber;

    private Integer pageRecordCount;

    private List<AdviceByDBA> items;

    public String getRequestId() {
        return this.requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Integer getTotalRecordsCount() {
        return this.totalRecordsCount;
    }

    public void setTotalRecordsCount(Integer totalRecordsCount) {
        this.totalRecordsCount = totalRecordsCount;
    }

    public Integer getPageNumber() {
        return this.pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageRecordCount() {
        return this.pageRecordCount;
    }

    public void setPageRecordCount(Integer pageRecordCount) {
        this.pageRecordCount = pageRecordCount;
    }

    public List<AdviceByDBA> getItems() {
        return this.items;
    }

    public void setItems(List<AdviceByDBA> items) {
        this.items = items;
    }

    public static class AdviceByDBA {

        private String optimizationText;

        public String getOptimizationText() {
            return this.optimizationText;
        }

        public void setOptimizationText(String optimizationText) {
            this.optimizationText = optimizationText;
        }
    }

    @Override
    public DescribeOptimizeAdviceByDBAResponse getInstance(UnmarshallerContext context) {
        return DescribeOptimizeAdviceByDBAResponseUnmarshaller.unmarshall(this, context);
    }
}
